//
//  CustomSearchHeadView.h
//  JJHW_coreData
//
//  Created by lizhenqiang on 16/4/16.
//  Copyright © 2016年 HFKJ_LZQ. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger,KcontentType) {
    
    contentTypeNews=0,
    contentTypeQuestion,
    contentTypeDibiao
    
    
};

typedef void(^searchHeadCallBackBlock)(KcontentType type);

@interface CustomSearchHeadView : UIView

@property(strong, nonatomic)UIButton *newsBtn;
@property(strong, nonatomic)UIButton *questionBtn;
@property(strong, nonatomic)UIButton *dibiaoBtn;

@property(strong, nonatomic)UIImageView *xianImageView;
@property(assign, nonatomic)KcontentType contentType;

@property(assign, nonatomic)CGFloat mywidth;
@property(assign, nonatomic)CGFloat myheight;
@property(strong, nonatomic)UIButton *selectedBtn;
@property(strong, nonatomic)searchHeadCallBackBlock block;
-(void)setViewData;
@end
